package com.woniuxy.shop;

import com.woniuxy.shop.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@SpringBootApplication
@Controller
public class ShopMain {
    @Autowired
    UserService service;
    public static void main(String[] args) {
        SpringApplication.run(ShopMain.class);
    }
/*    @RequestMapping("/")
    @ResponseBody
    public  Object test1(){
        return service.list();
    }*/
}
